#define  3.1415
#define  BYTE  unsigned char

struct CGStruc {
   int r;
   int c;
};

struct PolStruc {
   float Min;
   float Max;
};

struct ChnStruc {
   int r;
   int c;
   int i;
};

struct SegStruc {
   int r0;
   int c0;
   int r1;
   int c1;
};

struct LinStruc {
   int r;
   int c;
};

struct StrucStrucBin {
   int r;
   int c;
};

struct StrucStrucGrey {
   int r;
   int c;
   int g;
};

struct EvalStruc {
   float Energy;
   float Contrast;
   float Entropy;
   float Homogen;
};

typedef  struct CGStruc         CGTyp;
typedef  struct PolStruc        PolTyp;
typedef  struct LinStruc        LinTyp;
typedef  struct ChnStruc        ChnTyp;
typedef  struct SegStruc        SegTyp;
typedef  struct StrucStrucBin   StrTypB;
typedef  struct StrucStrucGrey  StrTypG;
typedef  struct EvalStruc       EvalTyp;
